home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / text / misc / fill.lha / Fill / README.Amiga < prev    next >
Text File  |  1993-01-21  |  2KB  |  64 lines

  1. WHAT IS THIS?
  2.  
  3.     This program is a paragraph filler.  That is, it automatically
  4. justifies text and/or makes it into a single paragraph.  It's intended
  5. to be invoked from inside your text editor (if your text editor can
  6. invoke external commands) to neaten up your paragraphs, but it also
  7. works on the command line, reading from standard input and writing to
  8. standard output.
  9.  
  10.     I have successfully used it with TurboText, and a macro file
  11. (FillTest.ttx) is provided as an example of how to do it.
  12.  
  13. ENCLOSED FILES
  14.  
  15. Fill            The program.
  16. README.Amiga        The file you are reading now.
  17. Amiga.DOC        Program documentation for the Amiga.
  18. filltest.ttx        An ARexx macro for TurboText.
  19. test_file        A new test file
  20. test_file.orig        The test file originally supplied
  21.  
  22. fill.1            Program documentation for UNIX, in troff format.
  23. fill.c            Source code
  24. getopt.c        Source code
  25. Makefile        Amiga makefile
  26. Makefile.UNIX        UNIX makefile
  27. POSTER            Information on where the program first appeared
  28.  
  29.  
  30. PROGRAMMING INFO
  31.  
  32.     I ported this program to the Amiga, and it compiles with the Manx
  33. Aztec C compiler version 5.2a.  My changes included:
  34.  
  35. o    Switched to ANSI C and adding prototypes.
  36.  
  37. o    All the "#ifdef AMIGA" sections:
  38.  
  39.     o    Added an Amiga version number for the "Version" command.
  40.     o    Added support for "Fill ?" to get a usage message.
  41.  
  42. o    Moved the usage message into a new function, Usage().
  43.  
  44. o    Commented out the "#include <memory.h>" and adding
  45.     "#include <stdlib.h>".
  46.  
  47. o    Provided a getopt() function in getopt.c.
  48.  
  49. o    Added -DUNIX to the UNIX Makefile.
  50.  
  51. o    Created a simple Amiga Makefile for Aztec C.
  52.  
  53. o    Bumped the version number to 2.7a.
  54.  
  55. My thanks to the author for making this code available in comp.sources.misc!
  56. If you find any bugs, please send them to me.
  57. I can't guarantee I'll fix them, since my port was such a quick hack,
  58. but it can't hurt to ask me....
  59.  
  60. ---
  61. Daniel J. Barrett
  62. barrett@cs.umass.edu
  63. January 21, 1993
  64.